<header>
    <div class="container">
        <img src="{$static}images/logo.png" class="logo fl-l" alt="木蝴蝶">
        <ul class="nav clearfix fl-l">
            <li><a href="/"  {if condition="$controller_action eq 'index_index'"} class="active" {/if} >首页</a></li>
            <li><a href="{:url('superSign/index')}" {if condition="$controller_action eq 'supersign_index'"} class="active" {/if} >超级签名</a></li>
            <li><a href="{:url('tools/getUdid')}"  {if condition="$controller_action eq 'tools_getudid'"} class="active" {/if} >获取UDID</a></li>
            <li><a href="{:url('index/agent')}"  {if condition="$controller_action eq 'index_agent'"} class="active" {/if} >代理推广</a></li>
        </ul>
        {if condition="$userId eq 0"}
        <a href="{:url('user/login')}" class="fl-r">登录/注册</a>
        {else /}
        <a href="{:url('mine/index')}" class="fl-r">进入控制台</a>
        {/if}
    </div>
</header>